package com.red.star.wechat.data.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * @author nofish.yan@gmail.com
 * @date 2018/8/31.
 * 组查看记录
 */
@Data
@NoArgsConstructor
@Table(name = "stat_group_view")
public class GroupView extends BaseEntity {

    private String mallCode;

    private Integer groupId;

    private Integer fansId;

    public GroupView(String mallCode, Integer groupId, Integer fansId) {
        this.mallCode = mallCode;
        this.groupId = groupId;
        this.fansId = fansId;
    }
}
